package com.his.benchwork.dao;

import com.his.benchwork.entity.BenchWorkConfig;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author jzy
 * @Date 2020/3/11 11:31
 * @Version 1.0
 */
@Repository
public interface BenchWorkConfigMapper {
    /**
     * 工作台与配置表关系
     * @param benchWorkConfig
     */
    void save_bwconfig(BenchWorkConfig benchWorkConfig);
    /**
     * 删除工作台与配置表关系
     * @param benchid configid
     */
    void delete_bwconfig(String benchid,String configid);

    /**
     * 查询工作台与配置表关系
     * @param benchId
     */
    List<BenchWorkConfig> select_bwconfig_list(String benchId);
    
    /* 
     * 
     * 根据工作台id,配置编码查询定义表
     * [benchid, configid] 
     * @return com.his.benchwork.entity.BenchWorkConfig
     * @date 2020/3/24 14:38
     */
    BenchWorkConfig select_bwconfig(String benchid,String configid);
}
